{extend name="index_layout"/}
{block name="main"}
<form class="layui-form" method="post">

    <div class="layui-form-item">
        <label class="layui-form-label">日期</label>
        <div class="layui-input-block">
            <input id="c-date" lay-verify="required" data-date-type="date" class="datetime layui-input" name="row[date]" type="text" value="{$data.date}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">总收入</label>
        <div class="layui-input-block">
            <input id="c-total_amount" lay-verify="required" class=" layui-input" step="0.01" name="row[total_amount]" type="number" value="{$data.total_amount}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">总单数</label>
        <div class="layui-input-block">
            <input id="c-total_nums" lay-verify="required" class=" layui-input" name="row[total_nums]" type="number" value="{$data.total_nums}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">总支付人数</label>
        <div class="layui-input-block">
            <input id="c-total_user" lay-verify="required" class=" layui-input" name="row[total_user]" type="number" value="{$data.total_user}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">专项服务总收入</label>
        <div class="layui-input-block">
            <input id="c-spec_amount" lay-verify="required" class=" layui-input" step="0.01" name="row[spec_amount]" type="number" value="{$data.spec_amount}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">专项服务总单数</label>
        <div class="layui-input-block">
            <input id="c-spec_nums" lay-verify="required" class=" layui-input" name="row[spec_nums]" type="number" value="{$data.spec_nums}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">专项服务支付总人数</label>
        <div class="layui-input-block">
            <input id="c-spec_user" lay-verify="required" class=" layui-input" name="row[spec_user]" type="number" value="{$data.spec_user}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">企服套餐总金额</label>
        <div class="layui-input-block">
            <input id="c-package_amount" lay-verify="required" class=" layui-input" step="0.01" name="row[package_amount]" type="number" value="{$data.package_amount}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">企服套餐总单数</label>
        <div class="layui-input-block">
            <input id="c-package_nums" lay-verify="required" class=" layui-input" name="row[package_nums]" type="number" value="{$data.package_nums}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">企服支付人数</label>
        <div class="layui-input-block">
            <input id="c-package_user" lay-verify="required" class=" layui-input" name="row[package_user]" type="number" value="{$data.package_user}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">商品支付金额</label>
        <div class="layui-input-block">
            <input id="c-goods_amount" lay-verify="required" class=" layui-input" step="0.01" name="row[goods_amount]" type="number" value="{$data.goods_amount}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">商品支付单数</label>
        <div class="layui-input-block">
            <input id="c-goods_nums" lay-verify="required" class=" layui-input" name="row[goods_nums]" type="number" value="{$data.goods_nums}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">商品支付人数</label>
        <div class="layui-input-block">
            <input id="c-goods_user" lay-verify="required" class=" layui-input" name="row[goods_user]" type="number" value="{$data.goods_user}">
        </div>
    </div>
    <div class="layui-form-item layer-footer">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
{/block}
{block name="script"}
<script type="text/javascript">
layui.use('yznForm', function() {
    var yznForm = layui.yznForm;
    yznForm.bindevent($("form.layui-form"));
});
</script>
{/block}